package fjut.acm.coding.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "t_discuss_post")
public class DiscussPostPO {
    private Integer id;
    private String title;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date time;

    private String author;
    private Double priority;
}
